<style src="./index.scss" lang="scss" scoped rel="stylesheet/scss"></style>
<template src="./index.html"></template>
<script>
import mixinsShowData from "@/components/mixinsShowData";
import apiConfig from "./../apiConfig";
export default {
    name:"SelectDataLucklyBuying",
    mixins: [mixinsShowData],
    components: {
        ImageBox: async () =>
            Vue.extend(await Vue.prototype.$vFN.Components.Base.ImageBox()),
    },
    props: {
        // 接口列表
        apiConfig: {
            type: Object,
            default: apiConfig,
        },
    },
    data() {
        return {};
    },
    methods: {
        async getData() {
            let _data = await this.$vFN.Http.post(
                {
                    url: this.apiConfig.lucklyBuyingItemInfo.url,
                    domain: this.apiConfig.lucklyBuyingItemInfo.domain,
                    data: {
                        ids: this.value,
                    },
                },
                this.appWindow
            );
            if (_data._ok) {
                return _data.data;
            }
        },
    },

    mounted() {},
    beforeCreate() {},
};
</script>